# coding:utf-8
from django.db import models
from django.contrib import admin
from django.contrib.admin.models import User
# Create your models here.

class Compere(models.Model):
    user = models.ForeignKey(User)
    phone = models.CharField(max_length=11)
    content = models.TextField()
    create_time = models.DateTimeField(auto_now=True)
    def __unicode__(self):
        return self.content



admin.site.register(Compere)